require(['./config'],() => {
	require(['swiper','header','footer',],(swiper) =>{
		class Index{
			constructor() {
			    
			}
			
		}
		new Index ()
		
		var mySwiper = new swiper ('.swiper-container', {
    
    loop: true, // 循环模式选项
    autoplay: true,
    // 如果需要分页器
    pagination: {
      el: '.swiper-pagination',
    },
    
    // 如果需要前进后退按钮
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    } ,
	scrollbar: {
      el: '.swiper-scrollbar',
    }
  })
		
	})
	
})
 
    
    
     